#ifndef QSERVER_H
#define QSERVER_H

#include <QObject>
#include "QTcpServer"

//add by dimon, 2024-03-18 17:25

//父基类选择为'QTcpServer'
class QServer  : public QTcpServer
{
    Q_OBJECT
public:
    explicit QServer(QObject *parent = nullptr);

signals:

protected:
    ///处理到达的 TCP 连接请求
    void incomingConnection(qintptr sockDescriptor);

};

#endif // QSERVER_H
